<template>
  <div>
    <div class="ts-title">驾驶证申请</div>
    <div v-for="(item, index) in lists" :key="index" class="ts-content">
      <p>{{ index + 1 }}.{{ item.title }}</p>
      <div v-html="item.cnr">{{ item.cnr }}</div>
    </div>
  </div>
</template>

<script>
import { troubleShooting } from "../../../assets/js/api/user";
export default {
  name: "TroubleShooting",
  data() {
    return {
      lists: []
    };
  },
  created() {
    troubleShooting().then(res => {
      let list = res.data;
      for (let i = 0; i < list.length; i++) {
        if (list[i].lb === "4") {
          this.lists.push(list[i]);
        }
      }
    });
  }
};
</script>

<style></style>
